package com.ra.service;

import com.ra.pojo.RespPageBean;
import com.ra.pojo.Talk;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ra.pojo.dto.ConditionDTO;
import com.ra.pojo.dto.TalkAdminDTO;
import com.ra.pojo.dto.TalkDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 今晚几点睡_Ada
 * @since 2023-03-09
 */
public interface ITalkService extends IService<Talk> {

    void saveOrUpdateTalk(TalkDTO talkDTO);

    void delTalks(List<Integer> talkIds);

    RespPageBean<TalkAdminDTO> listTalksAdmin(ConditionDTO conditionDTO);

    TalkAdminDTO getTalkAdminById(Integer talkId);
}
